package com.brush.app.domain.req.Ad.add;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Getter
@Setter
@ApiModel(value = "AppAdvertiseAddReq",description = "广告新增参数")
public class AppAdvertiseAddReq {


    /**
     * 广告名name
     */
    @ApiModelProperty(value = "广告名name")
    private String name;

    /**
     * 广告链接link
     */
    @ApiModelProperty(value = "广告链接link")
    private String link;

    /**
     * 图片的imgUrl
     */
    @ApiModelProperty(value = "图片的imgUrl")
    private String imageUrl;

    /**
     * 该条广告结束时间endTime
     */
    @ApiModelProperty(value = "该条广告结束时间endTime")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    /**
     * 状态（0正常 1停用）
     */
    @ApiModelProperty(value = "状态（0正常 1停用）")
    private String status;

}
